Alexander Larsson [Mon, 1 Jul 2013 13:00:19 +0000 (15:00 +0200)]
Fix typo in Makefile.am
Chun-wei Fan [Mon, 1 Jul 2013 12:52:45 +0000 (14:52 +0200)]
Include crypt(3) implementation for MSVC
This adds a crypt(3) implementation for use with broadwayd as Visual Studio
does not support crypt(3) out of the box.
The public domain implementation is taken from the following URL,
http://michael.dipperstein.com/crypt/, where AFAICT this implementation
would not be subject to licensing restrictions that would prevent it from
being bundled.
Chun-wei Fan [Mon, 1 Jul 2013 12:51:03 +0000 (14:51 +0200)]
Broadway: Allow Compilation on Windows/MSVC
-Don't include unistd.h unconditionally as it's not available in Visual
Studio, but include io.h where necessary.
-Avoid C99isms, and use _chsize_s in place of ftruncate when unistd.h is
not available (as in the case of Visual Studio)
Tarnyko [Mon, 1 Jul 2013 12:46:25 +0000 (14:46 +0200)]
win32: Make broadway build
Matthias Clasen [Mon, 1 Jul 2013 02:30:15 +0000 (22:30 -0400)]
Add GtkHeaderBar to the a11y tests
Matthias Clasen [Mon, 1 Jul 2013 02:16:23 +0000 (22:16 -0400)]
Add GtkStack and GtkStackSwitcher to the a11y tests
Matthias Clasen [Mon, 1 Jul 2013 02:08:58 +0000 (22:08 -0400)]
Add GtkListBox to the a11y tests
William Jon McCann [Sun, 30 Jun 2013 18:28:02 +0000 (14:28 -0400)]
Deprecate and ignore gtk-enable-tooltips setting
It is enabled by default except on touch input devices.
William Jon McCann [Sun, 30 Jun 2013 17:45:43 +0000 (13:45 -0400)]
Remove gtk-im-status-style and gtk-im-preedit-style from GDK as well
William Jon McCann [Sun, 30 Jun 2013 17:44:24 +0000 (13:44 -0400)]
Deprecate the unused gtk-file-chooser-backend setting
William Jon McCann [Sun, 30 Jun 2013 17:14:18 +0000 (13:14 -0400)]
Fix a couple of deprecation warnings related to stock items
William Jon McCann [Sun, 30 Jun 2013 16:57:44 +0000 (12:57 -0400)]
Deprecate and ignore gtk-im-status-style and gtk-im-preedit-style
William Jon McCann [Sun, 30 Jun 2013 16:15:02 +0000 (12:15 -0400)]
Add deprecation warnings to GTK_STOCK macros
William Jon McCann [Sun, 30 Jun 2013 15:30:37 +0000 (11:30 -0400)]
Fix the build
Remove references to removed files
William Jon McCann [Fri, 28 Jun 2013 19:43:51 +0000 (15:43 -0400)]
Add xpadding around the image in message dialogs
William Jon McCann [Fri, 28 Jun 2013 15:27:19 +0000 (11:27 -0400)]
Deprecate GtkAction and GtkUIManager
It is recommended to use GAction et al and GtkBuilder.
William Jon McCann [Fri, 28 Jun 2013 16:09:58 +0000 (12:09 -0400)]
Remove deprecated UIManager from the demo
William Jon McCann [Fri, 28 Jun 2013 19:02:44 +0000 (15:02 -0400)]
Port print-editor test to GtkBuilder from UIManager
Sébastien Wilmet [Sat, 29 Jun 2013 16:21:44 +0000 (18:21 +0200)]
textiter: better document "tag" functions
https://bugzilla.gnome.org/show_bug.cgi?id=703313
Matthias Clasen [Sun, 30 Jun 2013 05:28:37 +0000 (01:28 -0400)]
Add GtkListBox to the widget gallery
Matthias Clasen [Sun, 30 Jun 2013 05:02:46 +0000 (01:02 -0400)]
Add missing GtkSearchEntry API to the docs
Matthias Clasen [Sun, 30 Jun 2013 04:50:29 +0000 (00:50 -0400)]
GtkSearchBar: formatting trivia
Matthias Clasen [Sun, 30 Jun 2013 04:27:45 +0000 (00:27 -0400)]
GtkHeaderBar: documentation improvements
Add some more information about title allocation.
Matthias Clasen [Sun, 30 Jun 2013 02:06:54 +0000 (22:06 -0400)]
Avoid integer overflow
Use g_malloc_n in gdk_cairo_set_source_pixbuf when allocating
a large block of memory, to avoid integer overflow.
Pointed out by Bert Massop in
https://bugzilla.gnome.org/show_bug.cgi?id=703220
Benjamin Otte [Sun, 30 Jun 2013 01:39:09 +0000 (03:39 +0200)]
reftests: Add a reftest for the expand change in GtkBox
The change was introduced in
80513aa2c7ed4aecc235723ea6c6f044cf98ba1d
See that commit for details.
Matthias Clasen [Sun, 30 Jun 2013 00:03:29 +0000 (20:03 -0400)]
Add a --direction option to gtk-reftest
gtk_test_init() hardcodes the locale to "C", so the --direction
option is useful to check reftests in rtl.
Matthias Clasen [Sat, 29 Jun 2013 23:55:14 +0000 (19:55 -0400)]
typo fix
Matthias Clasen [Sat, 29 Jun 2013 23:24:22 +0000 (19:24 -0400)]
Add a testcase for closing display before exit
It works right now, lets keep it that way.
Matthias Clasen [Sat, 29 Jun 2013 23:23:23 +0000 (19:23 -0400)]
GdkScreenX11: Dispose visuals
If we let them hold onto their X resources until finalize,
it is too late.
Matthias Clasen [Sat, 29 Jun 2013 23:22:51 +0000 (19:22 -0400)]
GdkVisualX11: Add a dispose implementation
We need to be able to drop X resources before finalization.
Matthias Clasen [Sat, 29 Jun 2013 23:21:28 +0000 (19:21 -0400)]
GdkDeviceManagerXI2: chain up in constructed
Dispose does chain up, and the parent class' dispose expects
that the object has been fully constructed.
Matthias Clasen [Sat, 29 Jun 2013 22:18:35 +0000 (18:18 -0400)]
csd: Improve window button handling
Group the buttons on each side in a box, and give them different
style classes, so themes can differentiate (this is partially a
workaround for limitations in our css selectors). The boxes also
let us add a margin below the buttons, without affecting the
allocation of the buttons themselves.
Matthias Clasen [Sat, 29 Jun 2013 22:15:01 +0000 (18:15 -0400)]
csd: use the correct icon name for close button
The icon is called window-close-symbolic.
Matthias Clasen [Sat, 29 Jun 2013 22:09:11 +0000 (18:09 -0400)]
csd: Use a dedicated style class for window buttons
This allows themes to differentiate between regular buttons
in a title bar, and window buttons.
Matthias Clasen [Sat, 29 Jun 2013 22:02:17 +0000 (18:02 -0400)]
csd: Improve the window title
Manually create the label, so that we can set its margins.
Sébastien Wilmet [Sat, 29 Jun 2013 14:33:23 +0000 (16:33 +0200)]
textiter: doc precision for forward_search() and backward_search()
https://bugzilla.gnome.org/show_bug.cgi?id=703313
Matthias Clasen [Sat, 29 Jun 2013 12:52:04 +0000 (08:52 -0400)]
Add a titlebar testcase
This is an experiment towards how we want client-side titlebars
to look.
Matthias Clasen [Sat, 29 Jun 2013 02:19:15 +0000 (22:19 -0400)]
Add a gtk_window_close function
This is useful when adding close buttons in custom titlebars.
Matthias Clasen [Fri, 28 Jun 2013 20:08:15 +0000 (16:08 -0400)]
testheaderbar: fix a mmemonic
Matthias Clasen [Fri, 28 Jun 2013 20:01:44 +0000 (16:01 -0400)]
Trivial rewording
Make the listbox demo follow the naming convention of the
other demos.
Matthias Clasen [Fri, 28 Jun 2013 10:47:48 +0000 (06:47 -0400)]
Fix the build
We have to uglify the deprecation messages to make gtk-doc
handle them. The get turned into XML attributes, and there
is no automatic quoting to protect quotes in the text.
William Jon McCann [Thu, 27 Jun 2013 22:48:46 +0000 (18:48 -0400)]
Deprecate GtkImageMenuItem
Use GtkMenuItem for menus with only text or GMenu for those
with icons for "nouns" and just text for "verbs".
William Jon McCann [Thu, 27 Jun 2013 21:51:38 +0000 (17:51 -0400)]
Deprecate the gtk stock functions
William Jon McCann [Thu, 27 Jun 2013 02:18:01 +0000 (22:18 -0400)]
Make ignored settings be set to false by default
Rico Tzschichholz [Thu, 27 Jun 2013 19:14:07 +0000 (21:14 +0200)]
docs: Don't drop xml/gtkstock.xml
Emilio Pozuelo Monfort [Thu, 27 Jun 2013 17:01:14 +0000 (19:01 +0200)]
menushell: don't activate a menu entry when opening a big menu
If a menu is opened and it doesn't fit entirely below or above
the menu bar, gtk+ will place it on top. The button release will
then activate the popup item that happens to appear under the
cursor. Avoid this by ignoring release events if they originated
in the parent menu bar and the duration of the press was too short.
https://bugzilla.gnome.org/show_bug.cgi?id=703069
Rico Tzschichholz [Thu, 27 Jun 2013 17:43:47 +0000 (19:43 +0200)]
build: Fix make dist
Emanuele Aina [Mon, 24 Jun 2013 13:58:10 +0000 (15:58 +0200)]
docs: Add GtkListBox functions to their section and fix links
https://bugzilla.gnome.org/show_bug.cgi?id=702981
William Jon McCann [Thu, 27 Jun 2013 02:07:00 +0000 (22:07 -0400)]
Fix default value of scrolled window placement-set property
To make the testsuite happy.
William Jon McCann [Thu, 27 Jun 2013 01:41:45 +0000 (21:41 -0400)]
Disable primary paste by default
William Jon McCann [Thu, 27 Jun 2013 01:35:40 +0000 (21:35 -0400)]
Fixup some of the example widgets used in the docs
William Jon McCann [Wed, 26 Jun 2013 22:41:15 +0000 (18:41 -0400)]
Deprecate GtkIconFactory, GtkIconSet, GtkIconSource
We want to use GtkIconTheme instead. It is worth noting that
the parts that remain undeprecated are GtkIconSize and gtk_icon_size_lookup.
William Jon McCann [Wed, 26 Jun 2013 22:46:12 +0000 (18:46 -0400)]
Don't use a GtkIconSet to pick the logo image
Just use the first pixbuf in the default list.
William Jon McCann [Wed, 26 Jun 2013 22:01:22 +0000 (18:01 -0400)]
Deprecate and ignore gtk-icon-sizes setting
We don't have icons rendered at arbitrary sizes and we have better
APIs that aren't restricted to GtkIconSizes.
William Jon McCann [Wed, 26 Jun 2013 19:35:47 +0000 (15:35 -0400)]
Remove the rest of gtk-touchscreen-mode
William Jon McCann [Wed, 26 Jun 2013 19:33:10 +0000 (15:33 -0400)]
Deprecate and ignore gtk-keynav-cursor-only and gtk-keynav-wrap-around
William Jon McCann [Wed, 26 Jun 2013 18:21:44 +0000 (14:21 -0400)]
Deprecate and ignore gtk-menu-bar-accel setting
Use 'F10' by default.
William Jon McCann [Wed, 26 Jun 2013 18:08:37 +0000 (14:08 -0400)]
Deprecate and ignore gtk-menu popup and popdown delay settings
Just pick good defaults. The a11y team confirmed that they don't
rely on them.
William Jon McCann [Wed, 26 Jun 2013 17:06:12 +0000 (13:06 -0400)]
Deprecate and ignore gtk-scrolled-window-placement
Just use GTK_CORNER_TOP_LEFT and allow it to be changed with
gtk_scrolled_window_set_placement().
William Jon McCann [Wed, 26 Jun 2013 16:47:43 +0000 (12:47 -0400)]
Deprecate and ignore gtk-fallback-icon-theme
The standard icon themes have built in fallbacks.
William Jon McCann [Wed, 26 Jun 2013 16:32:31 +0000 (12:32 -0400)]
Deprecate and ignore the cursor blink settings
And hardcode them to reasonable values.
William Jon McCann [Wed, 26 Jun 2013 16:00:42 +0000 (12:00 -0400)]
Deprecate and ignore gtk-can-change-accels
It is disabled by default
William Jon McCann [Wed, 26 Jun 2013 15:47:32 +0000 (11:47 -0400)]
Mark gtk-color-palette as deprecated
It is only used by the deprecated color selector widget.
William Jon McCann [Wed, 26 Jun 2013 15:16:12 +0000 (11:16 -0400)]
Deprecate and ignore gtk-enable-mnemonics and gtk-auto-mnemonics" properties
They are both enabled by default.
William Jon McCann [Wed, 26 Jun 2013 14:36:56 +0000 (10:36 -0400)]
Deprecate and ignore gtk-menu-images setting
GtkImageMenuItem images can still be enabled selectively by the app author
using the always-show-image property on the item.
Piotr Drąg [Wed, 26 Jun 2013 14:46:53 +0000 (16:46 +0200)]
Updated POTFILES.skip
Rob Bradford [Wed, 26 Jun 2013 14:09:51 +0000 (15:09 +0100)]
wayland: Add missing symbol export
gdk_wayland_window_set_use_custom_surface was not being exported
correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=695861
Benjamin Otte [Wed, 26 Jun 2013 13:50:32 +0000 (15:50 +0200)]
tests: Ignore deprecation warnings
Benjamin Otte [Wed, 26 Jun 2013 13:50:21 +0000 (15:50 +0200)]
testsuite: Ignore deprecation warnings
Benjamin Otte [Wed, 26 Jun 2013 13:50:05 +0000 (15:50 +0200)]
gtk-demo: Fix compile warnings
Benjamin Otte [Wed, 26 Jun 2013 13:49:50 +0000 (15:49 +0200)]
gtk-demo: Remove unused variable
Benjamin Otte [Wed, 26 Jun 2013 13:04:24 +0000 (15:04 +0200)]
settings Deprecate properties
Deprecate the properties that were brought back from the dead in the
last patch.
Benjamin Otte [Wed, 26 Jun 2013 13:02:18 +0000 (15:02 +0200)]
Revert "Remove the show-unicode-menu and show-input-method-menu settings"
Removing object properties is too much of an API break, even for
properties we don't expect to be used outside of GTK itself.
This reverts commit
8b811b623c387b99d42fb065535d5f6a05d52fa5.
William Jon McCann [Wed, 26 Jun 2013 12:24:44 +0000 (08:24 -0400)]
Deprecate and ignore gtk-button-images setting
Button images can still be enabled selectively by the app author
using the always-use-image property on the button.
John Lindgren [Wed, 26 Jun 2013 08:03:51 +0000 (10:03 +0200)]
window: Make process_updates faster
Only look at "impl" windows in gdk_window_process_updates_with_mode()
since these are the only ones we care about. This avoids a lot of
unnecessary calls to g_list_copy() and g_object_ref().
William Jon McCann [Tue, 25 Jun 2013 21:03:08 +0000 (17:03 -0400)]
Fix a couple documentation warnings
William Jon McCann [Tue, 25 Jun 2013 03:47:52 +0000 (23:47 -0400)]
Start deprecating some GtkStock API
William Jon McCann [Tue, 25 Jun 2013 15:48:16 +0000 (11:48 -0400)]
Make the testsuite happy that get gets the default value
William Jon McCann [Tue, 25 Jun 2013 15:18:05 +0000 (11:18 -0400)]
Adjust the a11y testsuite to match expected output
William Jon McCann [Tue, 25 Jun 2013 14:31:57 +0000 (10:31 -0400)]
Fix some regressions from stock migration
Sébastien Wilmet [Tue, 25 Jun 2013 09:58:57 +0000 (11:58 +0200)]
Document GtkTextSearchFlags
Move the doc about the flags from gtk_text_iter_forward_search() to the
enum.
https://bugzilla.gnome.org/show_bug.cgi?id=390048
Alexander Larsson [Tue, 25 Jun 2013 08:07:49 +0000 (10:07 +0200)]
gdkwindow: Don't recurse into clipped children when updating
We don't want to recurse into children that are clipped, as that is
wasted work. We handle this by moving the empty check to the top
of the function and only using the clipped region everywhere.
William Jon McCann [Mon, 24 Jun 2013 23:28:53 +0000 (19:28 -0400)]
Start migrating internals away from GtkStock
William Jon McCann [Mon, 24 Jun 2013 22:00:12 +0000 (18:00 -0400)]
Remove more discontinued ChangeLogs
They are all in git.
William Jon McCann [Mon, 24 Jun 2013 21:57:44 +0000 (17:57 -0400)]
Don't use stock APIs in the testsuite
William Jon McCann [Mon, 24 Jun 2013 21:31:22 +0000 (17:31 -0400)]
Remove most of the stock API usage from the tests
With the exception of GtkActions and the tests for stock items.
Ryan Lortie [Mon, 24 Jun 2013 21:59:52 +0000 (17:59 -0400)]
menu model: set separator label conditionally
When creating separators we were binding the "label" property on the
tracker to the "label" property on the GtkSeparatorMenuItem.
This was problematic for two reasons.
First, it was pointless. The section header label will never change.
Second, it was causing problems: doing the binding caused the value to
be initially synced up, even if it was NULL. Doing this caused
GtkMenuItem to create a GtkAccelLabel and add it as a child, which
prevented the separator from being shown normally.
Change the code a bit so that we just call gtk_menu_item_set_label()
when creating the item, if we find the label to be non-NULL.
Also, show() the separator item at first. GtkMenu manages visibility of
separators internally, but it seems "more correct" to show it ourselves
at first.
Ryan Lortie [Mon, 24 Jun 2013 21:59:02 +0000 (17:59 -0400)]
GtkMenuTracker: fix leak when creating submenus
William Jon McCann [Fri, 21 Jun 2013 17:46:54 +0000 (13:46 -0400)]
Remove usage of stock APIs in demo
With the exception of GtkAction.
William Jon McCann [Fri, 21 Jun 2013 19:21:23 +0000 (15:21 -0400)]
Don't use stock APIs in the bloatpad example
William Jon McCann [Fri, 21 Jun 2013 19:07:52 +0000 (15:07 -0400)]
Don't use stock APIs in the widget factory
Benjamin Otte [Mon, 24 Jun 2013 18:15:26 +0000 (20:15 +0200)]
treeview: Ensure we first validate the visible area when validating
This invariant stopped being guaranteed when we moved the visible area
validation from a high priority idle to a tick callback.
Fixes redrawing bugs like row expanding sometimes not having any visual
effect.
Benjamin Otte [Mon, 24 Jun 2013 18:13:15 +0000 (20:13 +0200)]
treeview: Reorder code
This just moves a function and is in preparation for the next commit.
Benjamin Otte [Mon, 24 Jun 2013 17:38:08 +0000 (19:38 +0200)]
treeview: Actually remove presize handler when we presize
Avoids multiple calls to it.
Sébastien Wilmet [Mon, 24 Jun 2013 15:00:31 +0000 (17:00 +0200)]
textiter: bug fix in forward_search() and backward_search()
When the search is case sensitive, g_utf8_normalize() is not called, so
the skip_decomp argument of the function forward_chars_with_skipping()
must be FALSE.
To verify that, when searching "éb", the count parameter of
forward_chars_with_skipping() have a different value:
- case sensitive: count = 2
- case insensitive: count = 3 (g_utf8_normalize() has been called)
The commit adds unit tests that didn't pass before, and that now pass
(without known regression, obviously).
https://bugzilla.gnome.org/show_bug.cgi?id=702977
William Jon McCann [Fri, 21 Jun 2013 20:02:31 +0000 (16:02 -0400)]
Add missing allow-none annotations
William Jon McCann [Fri, 21 Jun 2013 19:25:47 +0000 (15:25 -0400)]
Remove ancient changelogs
They can be retrieved from git.
Chun-wei Fan [Mon, 24 Jun 2013 06:25:31 +0000 (14:25 +0800)]
Fix gtk3-demo MSVC Project
Build the new listbox.c source file, as that file was missed.
Benjamin Otte [Sun, 23 Jun 2013 23:13:44 +0000 (01:13 +0200)]
tests: Ignore deprecations
... for where there's no replacement.
John Lindgren [Sun, 23 Jun 2013 19:22:13 +0000 (21:22 +0200)]
Optimize gdk_x11_screen_supports_net_wm_hint()
Move the call to gdk_x11_atom_to_xatom_for_display() outside of the
search loop in gdk_x11_screen_supports_net_wm_hint(). In my test case
(running Audacious for about a minute), this reduced the total number of
hash table lookups performed from 370,000 to 230,000.
https://bugzilla.gnome.org/show_bug.cgi?id=702913